home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-04-06 | 1.5 KB | 63 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="5"
- "COUNT"="1"
- "UIPATH"="Program Options\Other Programs\Jasc\Paint Shop Pro 7"
- "NAME"="Recent files"
- "VERSION"="1.00"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Clear recent files list"
- "DESCRIPTION 1"="If you don't want other people to see the files you have open, click on the button."
- "DESCRIPTION 3"="An evaluation version is available at http://www.jasc.com."
- "AUTHOR"="FORMATMAN"
- "CONTACTURL"="http://formatland.free.fr/"
- "COPYRIGHT"="Copyright ⌐ Formatman"
- "COMMENT 1"="For more informations, go to http://www.xsetup.net"
- "COMMENT 2"="Created by VORMELKER Werner"
- "COMMENT 3"="http://formatland.free.fr/"
- "COMMENT 4"="formatman@wanadoo.fr"
-
- sP="HKCU\Software\JASC\Paint Shop Pro 7\Recent File List\"
-
-
- Sub Plugin_Initialize
- If RegPathExists(sP)=false then
- Disable()
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if ElementIndex=1 then
- for l=1 to 30
- s="file" & l
- v=RegReadValue(sP & s)
-
- If IsEmpty(v)=false then
- Call RegDeleteValue(sP & S)
- end if
- Next
-
- Call MsgInformation("List cleared !")
- end if
-
-
- if ElementIndex=2 then
- 'i=RegEnumValues(sp2a)
- 'for l=1 to i
- ' Call RegDeleteValue(sp2a & RegEnumElement(l))
- 'Next
- 'Call RegWriteValue(sp2b,0,2)
-
-
- 'Call MsgInformation("Liste effacΘe !")
- end if
-
-
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-